package com.web.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.web.manager.pojo.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CourseMapper extends BaseMapper<Course> {
    @Select("select * from class where id = #{id}")
    Course selectById2(Integer id2);

    @Select("select count(*) from class where belong = #{belong}")
    Integer selectType(String belong);
}
